header{
    padding:0 10px;
    height: 44px;
    line-height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid rgb(214, 211, 211);
}
header>h1{
    flex:1;
    text-align: center;
    font-weight: bold;
}

/* 中间内容 */
main{
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff;
}
main #conbox{
    flex:1;
    overflow-y: scroll;
}
/* 商品展示 */
main .con{
    padding:5px 10px;
}
main .con>li{
    display: flex;
    justify-content: left;
    align-items: center;
    border-bottom: 1px solid #ccc;
    position: relative;
}
main .con>li .shop{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:10px;
}
main .con>li img{
    width: 82px;
    height: 82px;
    margin-right: 10px;
}


main .con>li .shop>.msg{
    flex: 1;
}
main .con>li .shop>.msg h5{
    font-size: 16px;
    line-height: 30px;
}
main .con>li .shop>.msg p:nth-of-type(1){
    color: #999BA1;
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 12px;
}
main .con>li .shop>.msg p:last-child{
    color: #E43130;
    font-size: 14px;
    font-weight: bold;
}


main .con>li .operation{
    width: 73px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom:3px;
    right: 5px;
}
main .con>li .operation>button{
    width: 30%;
    border:1px solid #ccc;
    outline: none;
}
main .con>li .operation>.shop_num{
    width: 40%;
    border:1px solid #ccc;
    text-align: center;
    outline: none;
}
/* 合计部分 */
main>.all{
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 36px;
    padding-left:10px;
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc;
}
main>.all>div{
    display: flex;
    justify-content: left;
    align-items: center;
    line-height: 36px;
    flex: 2;
}
main>.all .sel_all,
main .con .sel_single{
    width: 18px;
    height: 18px;
    border:1px solid #ccc;
    border-radius: 50%;
    line-height: 18px;
    text-align: center;
    color:#fff;
    outline:none;
    margin-right: 5px;
}
main>.all .sel_all.active,
main .con .sel_single.active{
    background-color: #E43130;
}
main>.all>p{
    flex:3;
}
main>.all>p #total_price{
    color:#e34130;
}
main>.all #settlement{
    flex:1;
    border:none;
    background-color: #e43130;
    height: 100%;
    color:#fff;
    font-size: 16px;
    text-align: center;
    line-height: 36px;
    padding:0 3px;
}


/* 底线 */
.bot_line{
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 20px;
    height: 20px;
    margin:10px 5px;
}
.bot_line>div{
    margin:0 5px;
    font-size: 12px;
    color:#333;
}
.bot_line hr{
    flex:1;
    opacity: 0.5;
}